package com.atguli.common.utils;

/**
 *
 * @author xionghw0982
 * @date 2021-06-23 15:35
 */
public class IsNumber {
    /**
     * 检查是否是数字
     * @param s
     * @return
     */
    public static boolean isNumeric(String s) {
        if (s != null && !"".equals(s.trim())){
            return s.matches("^[0-9]*$");
        }
        return false;

    }
}
